package pers.cyril.study.graphql.demo.dao;

import pers.cyril.study.graphql.demo.entity.Area;
import pers.cyril.study.graphql.demo.entity.City;
import pers.cyril.study.graphql.demo.entity.Province;

import java.util.List;

/**
 * 说点什么吧
 *
 * @author Wang Cyril
 * @date 2024/7/2 22:21
 */
public interface AddressDao {

    List<Province> getAll();

    Province getProvince(String code);

    City getCity(String code);

    Area getArea(String code);

    List<City> getCitiesByPCode(String pCode);

    List<Area> getAreasByPcode(String pCode);
}
